package hanjia;

public class hanjia18 {
	public static void main (String [] args){
		for (int i=1;i<5;i++){
			for (int j=1;j<5-i;j++){
				System.out.print(" ");
			}
			for (int k=1;k<i*2;k++){
				System.out.print("*");
			}
			System.out.println();
		}
		for (int i=3;i>0;i--){
			for (int j=1;j<5-i;j++){
				System.out.print(" ");
			}
			for (int k=1;k<i*2;k++){
				System.out.print("*");
			}
			System.out.println();
		}
	}
}
